//
//  LSExtensionQueryTextCell.h
//  lightSpot
//
//  Created by lightSpot Team on 2023.
//  Copyright © 2023 lightSpot Team. All rights reserved.
//

#import "BaseTableViewCell.h"

@class LSExtensionQueryTextCell;
@class LSExtensionQueryTextCellModel;

@protocol LSExtensionQueryTextCellDelegate <NSObject>

- (void)extensionQueryTextCell:(LSExtensionQueryTextCell *)cell textView:(UITextView *)textView;

@end

@interface LSExtensionQueryTextCell : BaseTableViewCell

@property (nonatomic,weak) id<LSExtensionQueryTextCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIView *myView;
@property (weak, nonatomic) IBOutlet UILabel *placeholderLabel;//提示
@property (weak, nonatomic) IBOutlet UITextView *textView;//输入框
@property (strong, nonatomic) LSExtensionQueryTextCellModel *model;

+ (id)instanceView;

@end



#pragma mark - Model

@interface LSExtensionQueryTextCellModel : NSObject

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *content;
@property (nonatomic,copy) NSString *tip;
@property (nonatomic,copy) NSString *max;

+ (LSExtensionQueryTextCellModel *)ittemModelWithTitle:(NSString *)title content:(NSString *)content tip:(NSString *)tip max:(NSString *)max;

@end
